<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', 'HomeController@index');
Route::get('/test', 'CrontabController@updateWechatFriendsSpread');
Route::get('/createLog', 'CrontabController@createLog');

Route::get('/scan', 'ScanController@scan');
Route::post('/scan', 'ScanController@handleScan');
Route::get('/scan/success', 'ScanController@successed');
Route::get('/scan/failed', 'ScanController@failed');
Route::post('/scan/process', 'ScanController@process');
Route::get('/scan/confirm', 'ScanController@confirm')->name('confirm');

Route::get('/form', 'ProfileController@form');
Route::get('/form/successed', 'ProfileController@successed');
Route::post('/form/check', 'ProfileController@check');

Route::get('/fans/export', 'FansController@export');
Route::get('/panda-fans/export', 'PandaFansController@export');
Route::get('/data-resources/export', 'DataResourceController@export');
Route::get('/data-resources/exportCopy', 'DataResourceController@exportCopy');

Route::get('/jiafenExcel', 'ExcelController@jiafenExcel');
